package portal.mybatis.dao;

import java.util.Date;

public class SockectLog extends SockectLogKey {
    private String logFileUri;

    private String algorithmState;

    private String algorithmSchedule;

    private String logLevel;

    private Date time;

    private String logMessage;

    private String jobId;

    private String temp2;
    
    private String taskHash;

    private String subTaskHash;

    public SockectLog(){}
    public SockectLog(String jobId,String algorithmState,String logFileUri,Date time,String algSchedule){
    	this.jobId=jobId;
    	this.algorithmState=algorithmState;
    	this.logFileUri=logFileUri;
    	this.time=time;
    	this.algorithmSchedule=algSchedule;
    }
    public SockectLog(String taskHash, String subTaskHash, String logFileUri, String algorithmState,
            String algorithmSchedule, String logLevel, String logMessage,String jobId){
    	this.taskHash=taskHash;
    	this.subTaskHash=subTaskHash;
    	this.logFileUri=logFileUri;
    	this.algorithmState=algorithmState;
    	this.algorithmSchedule=algorithmSchedule;
    	this.logLevel=logLevel;
    	this.logMessage=logMessage;
    	this.jobId=jobId;
    }
    public String getTaskHash() {
        return taskHash;
    }

    public void setTaskHash(String taskHash) {
        this.taskHash = taskHash == null ? null : taskHash.trim();
    }

    public String getSubTaskHash() {
        return subTaskHash;
    }

    public void setSubTaskHash(String subTaskHash) {
        this.subTaskHash = subTaskHash == null ? null : subTaskHash.trim();
    }

    public String getLogFileUri() {
        return logFileUri;
    }

    public void setLogFileUri(String logFileUri) {
        this.logFileUri = logFileUri == null ? null : logFileUri.trim();
    }

    public String getAlgorithmState() {
        return algorithmState;
    }

    public void setAlgorithmState(String algorithmState) {
        this.algorithmState = algorithmState == null ? null : algorithmState.trim();
    }

    public String getAlgorithmSchedule() {
        return algorithmSchedule;
    }

    public void setAlgorithmSchedule(String algorithmSchedule) {
        this.algorithmSchedule = algorithmSchedule == null ? null : algorithmSchedule.trim();
    }

    public String getLogLevel() {
        return logLevel;
    }

    public void setLogLevel(String logLevel) {
        this.logLevel = logLevel == null ? null : logLevel.trim();
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getLogMessage() {
        return logMessage;
    }

    public void setLogMessage(String logMessage) {
        this.logMessage = logMessage == null ? null : logMessage.trim();
    }

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId == null ? null : jobId.trim();
    }

    public String getTemp2() {
        return temp2;
    }

    public void setTemp2(String temp2) {
        this.temp2 = temp2 == null ? null : temp2.trim();
    }
}